#include "VarcharCell.h"
#include <iostream>
using std::cout;
using std::endl;

VarcharCell::VarcharCell(void)
{
}


VarcharCell::~VarcharCell(void)
{
}

void VarcharCell::identify()
{
	cout << "VarcharCell" <<endl;
}

string VarcharCell::getData()
{
	return data;
}

void VarcharCell::setData(const string &newData)
{
	data= newData;
}

bool VarcharCell::operator <(VarcharCell& cell2) const
{
	
	if(data.compare(cell2.getData()) <0)
	{
		cout << data << " < " << cell2.getData() << endl;
		return true;
	}
	else
		return false;
}
